<template>
  <div class="el-load-more">
    <template v-if="loading">加载中</template>
    <template v-else-if="length >= count">没有更多了</template>
  </div>
</template>
<script>
export default {
  props: {
    loading: {
      type: Boolean,
      default: false,
    },
    count: {
      type: Number,
      default: 0,
    },
    length: {
      type: Number,
      default: 0,
    },
  },
  methods: {},
}
</script>

<style lang="scss" scoped>
.el-load-more {
  padding: 10px;
  text-align: center;
  color: #d1cfcf;
  font-size: 10px;
}
</style>
